# -*- coding:utf-8 -*-
"""
@project: API_Automation
@author: chenhh
@file:body_data.py 
@ide: PyCharm
@time: 2021/1/25
"""
from Common.Read_xls import Readxlsdata
import json


def json_to_get(json_data):
    get_data = str(json_data)
    get_data = get_data.replace(',', '&').replace('\'', '').replace('"', '').replace(':', '=').replace(' ',
                                                                                                       '').replace(
        '{', '').replace('}', '')
    return get_data



